import { request } from 'ice';

const API_ROOT = '/map/datas';

export async function addMapData(data) {
  const opts = {
    method: 'POST',
    url: API_ROOT,
    data
  };
  return await request(opts);
}
